/* 登录区域右侧样式 */
.login-right {
    flex: 1;
    display: flex;
    background-color: #fff;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* 登录表单样式 */
.login-form form {
    background-color: #ffffff;
    padding: 30px 50px 50px;
    width: 410px;
    height: auto;
    border: 1px solid #578abf;
    position: relative;
}

/* 登录表单标题样式 */
.login-form h1 {
    text-align: center;
    color: #0f5aa5;
    margin-bottom: 60px;
}

/* 位置选择框和科室选择框的共同样式 */
.location-select, .department-select, .department-number-select {
    position: relative;
    display: inline-block;
    width: 100%; /* 设置宽度为100% */
}

/* 位置选择框的偏移样式 */
.location-select {
    margin-bottom: 20px;
}

/* 已选中的位置和科室样式 */
.location-selected, .department-selected, .department-number-selected {
    border: 1px solid rgb(220, 223, 230);
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    padding-right: 30px; /* 为箭头留出空间 */
    height: 40px;
    line-height: 40px;
    text-align: left;
}

/* 聚焦时选项框的样式 */
.location-select.focused .location-selected,
.department-select.focused .department-selected,
.department-number-select.focused .department-number-selected {
    border: 1px solid rgb(14, 89, 164);
}

/* 箭头图标样式 */
.location-selected img, .department-selected img, .department-number-selected img {
    position: absolute;
    top: 33%;
    height: 14px;
    width: auto;
    margin-left: 15px;
    opacity: 0.5;
}

/* 选中项文字样式 */
.location-selected-text, .department-selected-text, .department-number-selected-text {
    font-size: 14px;
    margin-left: 36px;
}

/* 下拉箭头样式 */
.arrow {
    height: 16px;
    width: 16px;
    position: absolute;
    right: 10px;
    top: 30%;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    opacity: 0.3; /* 设置透明度 */
    transition: transform 0.5s ease;
}

.arrow img {
    height: 100%;
    width: auto;
}

.arrow .delete {
    display: none;
    height: 16px;
    width: 16px;
    position: absolute;
    right: 0;
    font-size: 12px;
    opacity: 1;
}

/* 位置和科室选项框默认隐藏样式 */
.location-options, .department-options, .department-number-options {
    display: none; /* 默认隐藏选项 */
    position: absolute;
    z-index: 1;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    width: 100%; /* 选项框与选择框宽度一致 */
}

/* 位置和科室选项样式 */
.location-option, .department-option, .department-number-option {
    cursor: pointer;
    height: auto;
    margin: 5px 0;
    text-align: left;
    line-height: 30px;
}

.empty {
    height: auto;
    margin: 5px 0;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    color: rgb(144, 147, 153);
    font-weight: 500;
}

/* 选项文字样式 */
.location-option-text, .department-option-text, .department-number-option-text {
    font-size: 14px;
    padding-left: 36px; /* 为文字留出内边距 */
}

/* 选项框文字失去焦点时的样式 */
.location-selected.blur .location-selected-text, 
.department-selected.blur .department-selected-text,
.department-number-selected.blur .department-number-selected-text {
    opacity: 0.5;
}

/* 当前选项的样式 */
.location-option.current .location-option-text, 
.department-option.current .department-option-text,
.department-number-option.current .department-number-option-text {
    color: rgb(14, 89, 164);
    font-weight: bold;
}

.location-option.not-hover .location-option-text, 
.department-option.not-hover .department-option-text,
.department-number-option.not-hover .department-number-option-text {
    background-color: rgb(245, 247, 250);
}

/* 鼠标悬停在选项时的背景色 */
.location-option-text:hover, 
.department-option-text:hover,
.department-number-option-text:hover {
    background-color: rgb(245, 247, 250);
}

